package io.gitee.zhangbinhub.admin.oauth.vo

import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty

/**
 * @since JDK 11
 */
@ApiModel("菜单配置详细信息")
data class MenuVo(
    @ApiModelProperty(name = "菜单ID")
    var id: String? = null,
    @ApiModelProperty(name = "应用ID")
    var appId: String? = null,
    @ApiModelProperty(name = "菜单名称")
    var name: String? = null,
    @ApiModelProperty(name = "菜单图标")
    var iconType: String? = null,
    @ApiModelProperty(name = "链接路径")
    var path: String? = null,
    @ApiModelProperty(name = "上级菜单ID")
    var parentId: String? = null,
    @ApiModelProperty(name = "菜单是否启用")
    var enabled: Boolean = true,
    @ApiModelProperty(name = "链接打开模式；0-内嵌，1-新标签页")
    var openType: Int = 0,
    @ApiModelProperty(name = "序号")
    var sort: Int = 0,
    @ApiModelProperty(name = "关联角色ID")
    var roleIds: MutableList<String> = mutableListOf()
)
